package com.dts.evaluate.common;

/**
 * Created by user on 2016/6/29.tag
 */
public class Constants {

    //建立长连接服务器url 172.16.0.102  10.0.205.62  http://10.16.115.10:8080/   192.168.1.126:8080  ws://172.16.0.112:8080/gsc/ws  172.16.0.112:8080/emsgsc/api/refresh
    //public static final String SOCKET_URL = "ws://10.0.205.62:18080/gsc/ws";
    //public static final String SOCKET_URL = "ws://10.118.205.5:18080/gsc/ws";//峨眉山
    public static final String SOCKET_URL = "ws://10.16.115.10:18080/gsc/ws";

    //基础url
   // public static final String BASE_URL = "http://10.0.205.62:18080/gsc";
    //public static final String BASE_URL = "http://10.118.205.5:18080/gsc";//峨眉山
    public static final String BASE_URL = "http://10.16.115.10:18080/gsc";


    /********************* 个人状态*****************/
    public static final String REASON = "reason";
    public static final String PHONE_NUMBER = "phoneNumber";
    public static final String IS_RECOVERY = "isRecovery";


    /******************* 办事指南*********************/
    public static final String SERVER_FLAG = "serverFlag";
    public static final int SERVER_GUIDE = 0;
    public static final int SERVER_PROCESS = 1;


    /******************* 可办事项******************************/
    public static final String KBSX_URL = "http://10.16.115.10/gass/PbInterface/pbInterfaceApp.aspx";
    //public static final String KBSX_URL = "http://10.118.205.5/gass/PbInterface/pbInterfaceApp.aspx";//峨眉山
    public static final String TYPE = "type";
    public static final String DATAID = "dataid";

    public static final String APPROVE_PROJECT_BEAN = "ApproveProjectBean";
    public static final String ISSUE_BULLETIN_BEAN = "IssueBulletinBean";
    //父级列表
    public static final int TYPE_PARENT = 0;
    //子级列表
    public static final int TYPE_CHILD = 1;
    //审批条件
    public static final int TYPE_CONDICTION = 2;
    //应交材料
    public static final int TYPE_MATERIAL = 3;
    //法定依据
    public static final int TYPE_WARRANT = 5;
    //办事流程
    public static final int TYPE_THING_PROCESS = 10;
    //部门公告
    public static final int TYPE_DEPART_BROAD = 6;
    //收费标准
    public static final int TYPE_CHARGE_INFO = 11;
    //banner
    public static final int TYPE_BANNER = 8;

    //审批方式
    public interface AppMethod {
        String AUDITIONG = "Auditing";
        String AUDITIONG_VALUE = "审批";
        String AFFIRM = "Affirm";
        String AFFIRM_VALUE = "确认";
        String INSPECT_REPORT = "InspectReport";
        String INSPECT_REPORT_VALUE = "上报";
        String KEEP_ARCHIVE = "KeepArchive";
        String KEEP_ARCHIVE_VALUE = "备案";
        String TRANSITDTELEGRAM = "transitdtelegram";
        String TRANSITDTELEGRAM_VALUE = "转报";
    }

    //行政审批
    public interface Character {
        String GOV_APPROVE = "GovApprove";
        String GOV_APPROVE_VALUE = "行政许可";
        String PUB_APPROVE = "pubApprove";
        String PUB_APPROVE_VALUE = "公共服务";
        String OTHER_APPROVE = "OtherApprove";
        String OTHER_APPROVE_VALUE = "其他";
    }


    /************************ 投诉建议**************************///http://10.0.205.62:18080/gsc/anon/tsop/loadOp      http://10.0.205.62:18080/gsc/anon/ts/add
    // public static final String COMPLAIN_URL = BASE_URL + "/anon/tsop/loadOp";
    public static final String COMPLAIN_URL = BASE_URL + "/anon/tsop/loadOp";
    public static final String COMMIT_COMPLAIN_URL = BASE_URL + "/anon/ts/add";
    public static final String MODEL_NAME = "modelName";
    public static final String MODEL = "tab";
    public static final String USEER_NAME = "userName";
    public static final String PHONE_NUM = "phoneNum";
    public static final String REASON_ID = "reason";

    /************************ 程序版本升级*********************/
    public static final String CHECK_VERSION_URL = BASE_URL + "/api/checker";
    public static final String CLIENT_TYPE_VALUE = "pingjiayi";
    public static final String CLIENT_TYPE = "type";
    public static final String VERSION_NAME = "version";
    public static final String HAS_NEW_APK = "hasNewApk";

    /********************** 岗位职责***************/
    public static final String WORKER = "worker";

    //工作岗位
    public interface JOB_TYPE {
        String UNIT_LEADER = "GscUserJobType_UnitLeader";
        String UNIT_LEADER_VALUE = "单位领导";
        String UNIT_OPERATION_LEADER = "GscUserJobType_UnitOperationLeader";
        String UNIT_OPERATION_LEADER_VALUE = "单位业务分管领导";
        String FIRST_LEADER = "FirstLeader";
        String FIRST_LEADER_VALUE = "第一负责人";
        String SECOND_LEADER = "SecondLeader";
        String SECOND_LEADER_VALUE = "第二负责人";
        String WINDOW_PRINCIPAL = "GscUserJobType_WindowPrincipal";
        String WINDOW_PRINCIPAL_VALUE = "窗口负责人";
        String WINDWO_CLERK = "GscUserJobType_WindowClerk";
        String WINDWO_CLERK_VALUE = "窗口工作人员";
        String INSPECTOR = "GscUserJobType_Inspector";
        String INSPECTOR_VALUE = "监督人员";
        String TECHNICIAN = "GscUserJobType_Technician";
        String TECHNICIAN_VALUE = "技术人员";
        String OTHER_CLERK = "GscUserJobType_OtherClerk";
        String OTHER_CLERK_VALUE = "其他人员";
    }


    /***************** 信息确认*****************/
    public static final String PERSON_BEAN = "personBean";

    /****************** 评价****************/
    public static final String EVALUATE_BEAN = "evaluate";

    /******************* 个人公告*********************/
    public static final String PERSON_BROAD_BEAN = "personBroadBean";
    public static final String PERSION_BROAD_TYPE = "type";
    public static final String PUBLISH_TYPE = "publish";//发布公告
    public static final String CANCEL_TYPE = "cancel";//取消公告
    public static final String BEGIN_TIME = "begintime";
    public static final String END_TIME = "endtime";
    public static final String TEL_NO = "telno";
    public static final String BULLETION_DESC = "BulletinDesc";
    public static final String BROAD_ID = "id";
    public static final int BROAD_ON = 0;//打开个人公告
    public static final int BROAD_OFF = 1;//关闭个人公告
    public static final String COMIMIT_PERSON_BRAOD_URL = BASE_URL + "/api/tool/bulletin";

    //检查密码正确与否
    public static final String CHECK_PASSWORD_URL = BASE_URL + "/api/tool/passwordValidtion";
    public static final String UPDATE_PASSWORD_URL = BASE_URL + "/api/tool/registerPassword";
    public static final String USER_ID = "userId";
    public static final String PASSWORD = "password";

    /******************* 后台录像*********************/
    public static final String START_VIDEO = "startVideo";
    public static final String STOP_VIDEO = "stopVideo";
    public static final String VIDEO_TYPE = "videoType";
    public static final String VIDEO_ID = "id";
    public static final String ISUE_USER_ID = "issueuserid";
    public static final String VIDEO_NAME = "name";
    public static final String VIDEO_PATH = "path";
    public static final String VIDEO_URL = BASE_URL + "/api/completeVideoInfo";


    /********************拍照*******************************/
    //提交照片url   参数｛String name,String path｝
    public static final String PICTURE_URL = BASE_URL + "/api/tool/saveCapturePicture";
    public static final String PICTURE_NAME = "name";
    public static final String PICTURE_PATH = "path";
    public static final String PROJECT_ID = "projectId";


}
